home *** CD-ROM | disk | FTP | other *** search
- //
- // Module Name: AD_APND.COD - Menu_Act = 7
- // Selectors : Appnd_from, Appnd_type, For_Expr
- // Description: to issue the dBASE APPEND command
- // Syntax : APPEND FROM <expFN>/?/ARRAY <array name>
- // [FOR <expL>]
- // [ [TYPE] DBASEII / DIF / FW2 / RPD / SDF / SYLK / WKS
- // [DELIMITED [WITH BLANK/<delimiter>]] ]
- //
- lc_say='Appending records from file {if Appnd_type == 5}ARRAY {endif}{Appnd_from}'
- DO info_box WITH lc_say
- //
- SET TALK ON
- APPEND FROM {if Appnd_type == 5}ARRAY {endif}{Appnd_from} \
- {if For_Expr} FOR {For_Expr}{endif}\
- {if Appnd_type && Appnd_type != 5 then} TYPE {endif}\
- { case Appnd_type of}
- { 0: // insert carriage return for DBF}
-
- { 1:}dBASEII
- { 2:}FW2
- { 3:}RPD
- { 4:}DELIMITED {if Appl_Delim}WITH {Appl_Delim}{endif}
- { 5: // insert carriage return for ARRAY}
-
- { 6:}SDF
- { 7:}DIF
- { 8:}SYLK
- { 9:}WKS
- { endcase}
- // end of if Appnd_type
- SET TALK OFF
- //
- // EOP AD_APND.COD
-